import Vue from 'vue'
import 'iview/dist/styles/iview.css';
import {Editor} from './Editor'
import {
  Card,
  Col,
  Row,
  Radio,
  RadioGroup,
  Table,
  Tag,
  Header,
  Menu,
  MenuItem,
  MenuGroup,
  Layout,
  Breadcrumb,
  BreadcrumbItem,
  Footer,
  Content,
  Icon,
  Sider,
  Submenu,
  Form,
  FormItem,
  Button,
  Input,
  InputNumber,
  Select,
  Tooltip,
  Badge,
  ButtonGroup,
  ColorPicker,
  Cascader,Message,Page,Tabs,TabPane,Modal,Avatar,Dropdown,DropdownItem,DropdownMenu,Upload,Checkbox,CheckboxGroup,Notice,Spin,DatePicker,TimePicker,Option,OptionGroup,LoadingBar,Steps,Step
} from 'iview'
Vue.component("ButtonGroup",ButtonGroup)
Vue.component("ColorPicker",ColorPicker)
Vue.component("Badge",Badge)
Vue.component("Tooltip",Tooltip)
Vue.component("Steps",Steps)
Vue.component("Step",Step)
Vue.component("Option",Option)
Vue.component("OptionGroup",OptionGroup)
Vue.component("TimePicker",TimePicker)
Vue.component("DatePicker",DatePicker)
Vue.component("Spin",Spin)
Vue.component("Upload",Upload)
Vue.component("Checkbox",Checkbox)
Vue.component("CheckboxGroup",CheckboxGroup)
Vue.component("Dropdown",Dropdown)
Vue.component("DropdownItem",DropdownItem)
Vue.component("DropdownMenu",DropdownMenu)
Vue.component("Card",Card)
Vue.component("Col",Col)
Vue.component("Row",Row)
Vue.component("Radio",Radio)
Vue.component("RadioGroup",RadioGroup)
Vue.component("Tag",Tag)
Vue.component("Table",Table)
Vue.component("Header",Header)
Vue.component("Menu",Menu)
Vue.component("MenuItem",MenuItem)
Vue.component("MenuGroup",MenuGroup)
Vue.component("Layout",Layout)
Vue.component("Breadcrumb",Breadcrumb)
Vue.component("BreadcrumbItem",BreadcrumbItem)
Vue.component("Footer",Footer)
Vue.component("Content",Content)
Vue.component("Icon",Icon)
Vue.component("Sider",Sider)
Vue.component("Submenu",Submenu)
Vue.component("Form",Form)
Vue.component("FormItem",FormItem)
Vue.component("Button",Button)
Vue.component("Input",Input)
Vue.component("InputNumber",InputNumber)
Vue.component("Select",Select)
Vue.component("Cascader",Cascader)
Vue.component("Page",Page)
Vue.component("Tabs",Tabs)
Vue.component("TabPane",TabPane)
Vue.component("Modal",Modal)
Vue.component("Avatar",Avatar)

Vue.prototype.$Message=Message
Vue.prototype.$Loading=LoadingBar
Vue.prototype.$Modal=Modal
Vue.prototype.$Notice=Notice
Vue.prototype.$editor = Editor
Vue.prototype.$Spin=Spin
